<%@taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@taglib uri="http://richfaces.org/rich" prefix="rich"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<HTML> 
    <HEAD> 
        <c:if test="${sessionBean.ejbSession.owner==null}" >
            <jsp:forward page="../login.jsp" />
        </c:if>
        <c:if test="${!sessionBean.ejbSession.owner.adminUser}" >
            <jsp:forward page="../user/homeUser.jsp" />
        </c:if>
        <TITLE>eez2find Control Panel</TITLE> 
    </HEAD> 
    <FRAMESET ROWS="47px, *"> 
        <FRAME SRC="/site/faces/admin/top.jsp" NAME="top" SCROLLING="no" FRAMEBORDER="0" NORESIZE  > 
        <FRAMESET COLS="200, 98%" FRAMEBORDER=0 BORDERCOLOR="99CCFF" > 
            <FRAME SRC="/site/faces/admin/menu.jsp" NAME="menu" SCROLLING="NO"> 
            <FRAME SRC="/site/faces/admin/admin.jsp" NAME="admin" SCROLLING="YES">
        </FRAMESET>
    </FRAMESET>
    
</HTML>